﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PaginaMaestra.Master" AutoEventWireup="true" CodeBehind="Cines.aspx.cs" Inherits="ProyectoCine.AreaPrivada.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
        .style7
        {
            width: 113px;
        }
        .style23
    {
        width: 5px;
    }
    .style24
    {
        width: 253px;
    }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contenido" runat="server">
 

    <asp:Panel ID="Panel1" runat="server" GroupingText="Buscar Cine" Height="439px" 
        Font-Bold="True" ForeColor="Red">
        <table>
        <tr>
            <td>
                <asp:Label ID="lblNombre" runat="server" Font-Bold="True" ForeColor="Red" 
                    Text="Nombre"></asp:Label>
                &nbsp<asp:TextBox ID="txtBuscar" runat="server"></asp:TextBox>
                &nbsp<asp:Button ID="btnBuscar" runat="server" Text="Buscar" onclick="btnBuscar_Click" />
                <br />
            </td>
            <td class="style24">
                &nbsp;</td>
        </tr>

            <tr>
                <td>
                    &nbsp;</td>
                <td class="style24">
                    &nbsp;</td>
            </tr>

    </table>

    <asp:GridView ID="gvCine" runat="server" AutoGenerateColumns="False" 
            BackColor="#DEBA84" 
            onselectedindexchanged="gvCine_SelectedIndexChanged" AllowSorting="True" 
            onsorting="gvCine_Sorting" AllowPaging="True" BorderColor="#DEBA84" 
            BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" 
            onpageindexchanging="gvCine_PageIndexChanging">
        <Columns>
            <asp:CommandField ShowSelectButton="True" />
            <asp:BoundField DataField="nombre" HeaderText="Nombre" 
                SortExpression="nombre" />
            <asp:BoundField DataField="direccion" HeaderText="Dirección" 
                SortExpression="direccion" />
            <asp:BoundField DataField="numero" HeaderText="Numero" 
                SortExpression="numero" />
            <asp:BoundField DataField="barrio" HeaderText="Barrio" 
                SortExpression="barrio" />
            <asp:BoundField DataField="telefono" HeaderText="Telefono" 
                SortExpression="telefono" />
        </Columns>
        <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
        <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
        <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
        <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#FFF1D4" />
        <SortedAscendingHeaderStyle BackColor="#B95C30" />
        <SortedDescendingCellStyle BackColor="#F1E5CE" />
        <SortedDescendingHeaderStyle BackColor="#93451F" />
    </asp:GridView>
        
    </asp:Panel>

</asp:Content>
